package entity;

import common.BaseEntity;

import java.io.Serializable;

/**
 * Created by asus on 2017/6/17.
 */
public class Role  extends BaseEntity implements Serializable {
    private Long id;
    private  String name;
    private  String funtionIds;

    public Role() {
    }

    public Role(String name) {
        this.name = name;
    }

    public Role(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFuntionIds() {
        return funtionIds;
    }

    public void setFuntionIds(String funtionIds) {
        this.funtionIds = funtionIds;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", funtionIds='" + funtionIds + '\'' +
                '}';
    }
}
